home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
stk110
/
spredsrc.com
/
SPREDFIO.H
< prev
next >
Wrap
Text File
|
1991-02-25
|
1KB
|
34 lines
/**********************************************************************
* spredfio.h
*
* The sprite editor sprite data file IO
**********************************************************************
This file is part of
STK -- The sprite toolkit -- version 1.1
Copyright (C) Jari Karjala 1991
The sprite toolkit (STK) is a FreeWare toolkit for creating high
resolution sprite graphics with PCompatible hardware. This toolkit
is provided as is without any warranty or such thing. See the file
COPYING for further information.
**********************************************************************
**********************************************************************/
/**********************************************************************
* Load the sprite sdp->name. If sdp->h and sdp->w were non-zero
* they are preserved, otherwise the read values are used.
* Return: 0 if no errors, negative otherwise
* (-1 fopen, -2 fread, -3 fclose error)
**********************************************************************/
int load_sprite(SPRED_DATA *sdp);
/**********************************************************************
* Save the given sprite.
* Return: 0 if no errors, negative otherwise
* (-1 fopen, -2 fwrite, -3 fclose error)
**********************************************************************/
int save_sprite(SPRED_DATA *sdp);